<?php
// 本类由系统自动生成，仅供测试用途
class IndexAction extends CommonAction {
    public function index(){
        //$_ENV['typeid']=1;
        //$M=new CommonModel();
        //dump($M->getFields("cms_arctiny"));
        //echo alphaID("10000000",false,6);
        //echo alphaID("u2XFab",true,6);
        //echo sprintf("%012d",0);
        //echo C('URL_MODEL');
       
        $this->assign("_ENV",$_ENV);
        $this->_display("index");
    }
    
    function test(){
        $starttime=  microtime(true);
//        $arr=GetTypeChildren(22);
//        dump($arr);
//        $a="-1sadf";
//        echo abs((int)$a);
        //$M=M('arctiny');
        //mysql_connect("127.0.0.1", "root", "");
//        $m=D('@/Model/nimdA/Arctiny');
//        dump($m);
//        $m=M();
//        $where=array(
//            "aid"=>"1",
//            
//            "body"=>array("exp","REGEXP 'a'")
//        );
//        $re=$m->table("cms_addonarticle")->field(TRUE)->where($where)->buildSql();
//        dump($re);
        //$this->success("hehe");
//        helper("thinkpage");
//        $page=new Page(100, 10, "", "/tag/view/p");
//        echo $page->show();
        //echo bcpow("62","10")."<br>";
        //echo (float)pow(25,10);
//        echo alphaID(9999999999);
//        echo alphaID(alphaID(9999999999),true);
//        $taglist=D('CTags')->GetTagList(10);
//        dump($taglist);
        //dump(GetCacheOptions("arclist"));
        DelDirOrFile(RUNTIME_PATH);
        $endtime=  microtime(true);
        echo "<br/>";
        echo $endtime-$starttime;
    }
}